<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
{{assign var="title" value='智能花盆'}}
{{assign var="app" value='listing'}}
{{assign var="table" value='datas'}}
{{assign var="act" value='modify'}}
<title>{{$title}} - {{'admin|admin_site_name'|C|default:'后台管理'}}</title>
{{include file="include/base.html"}}
{{include file="{{$smarty.const.PLUG}}chosen/chosen.html"}}
{{include file="{{$smarty.const.PLUG}}drag/drag.html"}}
{{include file="{{$smarty.const.PLUG}}verify/verify.html"}}
</head>

<body>

	{{include file="include/sidebar.html"}}

	<div class="body_right">
	<div id="content">
	<div class="search">
		<ul class="bread">
			<li>◆ {{$title}}管理 －> {{$result.title|default:'添加'}}</li>
		</ul>
	</div>
			
		<!--内容 S-->
		<form action="index.php?app={{$app}}&act=save" name="form" class="verify" method="post">
		<input type="hidden" name="id" value="{{$result.id}}"/>
		<input type="hidden" name="item" value="{{$item}}"/>
		<table class="table table-bordered tablest modify">
		  <tbody>
			<tr>
				<td>{{$title}}uid：</td>
				<td>
					{{$result.uid}}
				</td>
			</tr>
			<tr>
				<td>图片：</td>
				<td>
					{{if $result.image}}<a class="zoom" title="{{$varesultl.uid}}" href="{{$result.image|photo}}"><img style="max-width:35px;max-height:35px;" src="{{$result.image|photo:35:35}}"/></a>{{/if}}
				</td>
			</tr>
			<tr>
				<td>灯光情况：</td>
				<td>
					{{if $result.light == 0}}关闭{{else}}开启{{/if}}
				</td>
			</tr>
			<tr>
				<td>抽水情况：</td>
				<td>
					{{if $result.water == 0}}关闭{{else}}开启{{/if}}
				</td>
			</tr>
			<tr>
				<td>自动情况：</td>
				<td>
					{{if $result.automatic == 12}}关闭{{elseif $result.automatic == 13}}开启{{/if}}
				</td>
			</tr>
			<tr>
				<td>环境温度：</td>
				<td>
			  		{{if $result.params.environment_temperature}}{{$result.params.environment_temperature}}{{else}}暂无相关数据{{/if}}
				</td>
			</tr>
			<tr>
				<td>环境湿度：</td>
				<td>
			  		{{if $result.params.environment_humidity}}{{$result.params.environment_humidity}}{{else}}暂无相关数据{{/if}}
				</td>
			</tr>
			<tr>
				<td>土壤湿度：</td>
				<td>
			  		{{if $result.params.soil_humidity}}{{$result.params.soil_humidity}}{{else}}暂无相关数据{{/if}}
				</td>
			</tr>
			<tr>
				<td>水位情况：</td>
				<td>
			  		{{if $result.params.water_level}}{{$result.params.water_level}}{{else}}暂无相关数据{{/if}}
				</td>
			</tr>
			<tr>
				<td>灯光强度：</td>
				<td>
			  		{{if $result.params.light_intensity}}{{$result.params.light_intensity}}{{else}}暂无相关数据{{/if}}
				</td>
			</tr>
		  </tbody>
		</table>
		<!-- <div class="bottom_button">
			<button type="submit" class="btn btn-info"><i class="icon-ok icon-white"></i>确认</button>
		</div> -->
		</form>
		<!--内容 E-->
</div>
</div>
{{include file="{{$smarty.const.PLUG}}ueditor/ueditor.html"}}
</body>
</html>